

source  /usr/local/miniconda3/etc/profile.d/conda.sh 



# python -c "import torch;print(torch.cuda.is_available(), torch.__version__,)"

conda activate atlasnet

#* defautls: training/trained_models/atlasnet_singleview_1_sphere/network.pth
CUDA_VISIBLE_DEVICES='1' python train.py --demo > logs/train.log




#* more details:
YOUR_IMAGE_or_OBJ_PATH=''
YOUR_MODEL_PTH_PATH='training/trained_models/atlasnet_singleview_25_squares'
CUDA_VISIBLE_DEVICES='1'  python train.py --demo \
--demo_input_path $YOUR_IMAGE_or_OBJ_PATH \
--reload_model_path $YOUR_MODEL_PTH_PATH > logs/train.log


